<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8" isELIgnored="false" %>
<%@ include file="/views/common/resources.jsp" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="/auth-tags" prefix="auth" %>

<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html>
<html style="height:100%;">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>业户查岗</title>
	<link href="<%=basePath%>resources/js/common/plugin/easyui/themes/default/easyui.css" rel="stylesheet"/>
	<link href="<%=basePath%>resources/js/common/plugin/select2/css/select2.min.css" rel="stylesheet" />
	<link href="<%=basePath%>resources/js/common/plugin/multiselect/css/multiple-select.css" rel="stylesheet" />
	<script src="<%=basePath%>resources/js/common/plugin/multiselect/js/multiple-select.js"></script>
	<script src="<%=basePath%>resources/js/common/plugin/select2/js/select2.min.js"></script>
	<script src="<%=basePath%>resources/js/common/plugin/easyui/jquery.easyui.min.js"></script>
    <script src="<%=basePath %>resources/js/common/plugin/My97DatePicker/WdatePicker.js"></script>
	<script src="<%=basePath%>resources/js/common/main/global.js"></script>
	<script src="<%=basePath%>resources/js/common/main/nav.js"></script>
	<script src="<%=basePath %>resources/js/common/util/common.js"></script>
	<script src="<%=basePath%>resources/js/system/check/entCheck.js"></script>
 	<style>
		#check_unit_id,#inputEndDate,#inputStartDate{
			width:150px;
		}
		#queryBtn{
			margin-left:80px
		}
		.modal-footer:{
			display:none;
		}
		#checkUnitIdDiv .btn{
			width:150px;
		    outline:none;
			background-color:white;
			border-style:none;
			box-shadow: none;
			border:none;
			border:1px solid #dedede;
			overflow: hidden;
		    padding: 0 5px 0 3px;
		 	height:24px;
		 	border-radius:0;
		    padding:0 5px;
		}
		.multiselect-selected-text{
			font-size: 12px;
    		float: left;
		}
		.caret{
			float: right;
		}
		.input-group-btn{
			display:none;
		}
		.multiselect-container.dropdown-menu{
			border-radius:0;
			height:300px;
			overflow:auto;
		}
		#checkUnitIdDiv .ms-choice span{
			color:#444;
		}
	</style>
</head>

<body onkeydown="if(event.keyCode=='13'){entModel.initEntCheckList();}"
	class="conditionSetting" style="height: 100%;">
	<div class="page">
		<div class="main clearfix">
			<div class="querys " id="tdiv">
				<div class="userQuery mt20 clearfix pr">
					<ul class="clearfix fl">
											
						<div class="clearfix fl"  id="checkUnitIdDiv" style='margin-right:15px'>
			   				<select class="query-select"  id="check_unit_id"  multiple="multiple">
			   				</select>
         				</div>
						
						<li class="fl clearfix"><input type="text"
							id="inputStartDate" class="query-input fl Wdate Time_input"
							onclick="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'%y-%M-%d'})" />
						</li>
						
						<li class="fl clearfix"><span class="fl query-text">至</span>
							<input type="text" id="inputEndDate"
							class="query-input fl Wdate Time_input"
							onclick="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'%y-%M-%d'})" />
						</li>

					</ul>
					<auth:authorize operation="reportCenter,checkManager,enterpriseCheck,query">
						<a class="fl userBtn" href="javascript:;" id="queryBtn"
							 style='margin-left: 80px'>查询</a>
					</auth:authorize>
						
					<auth:authorize operation="reportCenter,checkManager,enterpriseCheck,export">
						<a class="fl userBtn" href="javascript:void(0);" id="exportSimCard" 
							style='margin-left: 15px'>导出</a>
					</auth:authorize>	
					<auth:authorize operation="reportCenter,checkManager,enterpriseCheck,add">
						<a class="fl userBtn" href="javascript:;" id="addEntStrategyButton"
							 style='margin-left: 15px'>查岗策略</a>
					</auth:authorize>
				</div>
				
				<div class="queryTable" style="margin-top: 10px">
					<div id="tbEntChecks"></div>
				</div>

			</div>


	 		<%--导出数据弹窗--%>
			<div id="exportModal" class="modal hide fade" data-backdrop="static" style="left: 51%; width:600px;top: 52%;  margin-top: -89.5px;" aria-hidden="false" tabindex="-1" data-backdrop="static">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
					<h4 id="exportTitle">导出业户查岗信息</h4>
				</div>
				<div class="modal-body" style="font-size: 13px;vertical-align: middle; text-align: center;">
					<span>页数:</span>
					<input class="input-medium" id="StartPageIndex" type="number" value="1"><span>&nbsp;到&nbsp;</span>
					<input class="input-medium" id="EndPageIndex" type="number">
				</div>
				<div class="modal-footer">
					<button class="btn " data-dismiss="modal" aria-hidden="true">关闭</button>
					<button class="btn btn-ecColor"   id="exportComfirm" >导出</button>
				</div>
			</div>
		
		</div>
	</div>
</body>
</html>		